package com.zly.entity.parameter;

public abstract class DynamicJsonParameter {

    private static int ID_CURSOR = 0;

    //该参数的名称
    private final int id;
    private final String parameterName;

    //构造
    public DynamicJsonParameter(String parameterName) {
        id = ID_CURSOR;
        ID_CURSOR++;
        this.parameterName = parameterName;
    }
    
    //该参数的值是否是字符串类型
    public abstract boolean isOriginalStringType();

    //getter
    public String getParameterName() {
        return parameterName;
    }
    public int getId() { return id; }

}
